package com.qiwenshare.stock.api;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qiwenshare.stock.domain.StockInfo;
import com.qiwenshare.stock.domain.StockDayInfo;

import java.util.List;

public interface IStockDIService extends IService<StockInfo> {


    public void createStockInfoTable(String stockNum);


    List<StockInfo> selectStockList(String key, Long beginCount, Long pageCount);

    StockInfo getStockInfoById(String stockId);

    int getStockCount(String key, Long beginCount, Long pageCount);

    List<StockInfo> selectTotalStockList();

    List<StockInfo> getNoExistStockList(List<StockInfo> stockBeanList);

    List<StockInfo> getStockListByScript();



    StockInfo getStockInfo(StockInfo stockBean, List<StockDayInfo> stockdayinfoList);

    void updateStock(StockInfo stockBean);


}
